package com.pomelo.base.core.bean;

/**
 * 分页参数
 *
 * @author biankudingcha
 * @date: 2021-10-06
 * @since 0.5.0
 */
public class PageParam {

    /**
     * 当前页码
     */
    private int pageIndex = 1;

    /**
     * 每页条数
     */
    private int pageSize = -1;

    /**
     * 排序字段
     */
    private String sort = null;

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

}
